gdb

Home > Software Notes > Tools

resources

viewing registers using svd

Make sure your gdb has python support.

pip install git+https://github.com/bnahill/PyCortexMDebug.git

Add to your project .gdbinit:

python

from cmdebug.svd_gdb import LoadSVD
LoadSVD()

end

svd_load path_to_board.svd

Add to your ~/.gdbinit

# safe paths
add-auto-load-safe-path /path/to/project/.gdbinit
Otherwise the project .gdbinit might not load.